	function includephpBBFiles() {
		global $phppBBsessionID, $phpBBforumPath;
		global $db, $phpEx, $phpbb_root_path;
		global $lang, $table_prefix, $theme, $style, $board_config, $userdata;
		$phpbb_root_path = $this->forumPath();
		// set these variables to make sure and avoid the argument is not an array error with array_merge in common.php
		if (!isset($HTTP_GET_VARS) || !is_array($HTTP_GET_VARS))
		{
			$HTTP_GET_VARS = array();
		}
		if (!isset($HTTP_POST_VARS) || !is_array($HTTP_POST_VARS))
		{
			$HTTP_POST_VARS = array();
		}
		if (!isset($HTTP_COOKIE_VARS) || !is_array($HTTP_COOKIE_VARS))
		{
			$HTTP_COOKIE_VARS = array();
		}
		if (!isset($HTTP_SERVER_VARS) || !is_array($HTTP_SERVER_VARS))
		{
			$HTTP_SERVER_VARS = array();
		}
		if (!isset($HTTP_SESSION_VARS) || !is_array($HTTP_SESSION_VARS))
		{
			$HTTP_SESSION_VARS = array();
		}
		if (!isset($HTTP_ENV_VARS) || !is_array($HTTP_ENV_VARS))
		{
			$HTTP_ENV_VARS = array();
		}
		if (!isset($HTTP_POST_FILES) || !is_array($HTTP_POST_FILES))
		{
			$HTTP_POST_FILES = array();
		}
		include_once($phpbb_root_path . 'extension.inc');
		include_once($phpbb_root_path . 'common.'.$phpEx);
		return true;
	}